//
//  NavBarViewController.h
//  NavBar
//
//  Created by Thiago on 23/07/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>



@class ActionPickerViewController, ModalViewController, UserPreferencesViewController, AboutViewController;

@interface NavBarViewController : UIViewController <UINavigationBarDelegate, UIWebViewDelegate, UIPickerViewDelegate>{
	UIWebView *webView;
	ModalViewController *statsVC;
	ActionPickerViewController *actionVC;
	UserPreferencesViewController *prefVC;
	AboutViewController *aboutVC;
}

@property (nonatomic, retain) UIWebView *webView;
@property (nonatomic, retain) ModalViewController *statsVC;
@property (nonatomic, retain) AboutViewController *aboutVC;
@property (nonatomic, retain) ActionPickerViewController *actionVC;
@property (nonatomic, retain) UserPreferencesViewController *prefVC;

-(void)loginWithUserPrefData:(id)sender;
-(void)parseResult:(NSString*)html;
-(void)processRequest:(NSURLRequest*)request;
-(void)processURL:(NSURL*)relativeurl;
-(NSData*)createFormData:(NSDictionary*)dictionary withBoundary:(NSString*)myBounds;
-(NSString*)md5:(NSString*)str;
-(void)thereIsNoInternet;
@end
